<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简单组件</title>
</head>
<body>
    <div id="app">

    </div>
    <script src="./lib/react.development.js"></script>
    <script src="./lib/react-dom.development.js"></script>
    <script src="./lib/babel.min.js"></script>
    <script type="text/babel">
        function Simple() {
            return (
                <h2>我是简单的组件</h2>
            )
        }
        ReactDOM.render(<Simple />,document.getElementById('app'))
    </script>
</body>
</html>